-- GENERATED SPELL FOR [Scarlet Ballista] --


function spell0_29104(pUnit, Event) --@Ballista Assault,n/a--
pUnit:FullCastSpellOnTarget(53117,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29104', 0, 1)
end

function Sorts_29104(pUnit, Event)
local choix_sorts_29104 = math.random(0, 0)
if choix_sorts_29104 == 0 then
pUnit:RegisterEvent('spell0_29104', 1, 1)
end
end

function mob29104_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29104', math.random(1500, 3000), 1)
end

function mob29104_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29104_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29104_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29104, 1, 'mob29104_Action')
RegisterUnitEvent(29104, 2, 'mob29104_Leave')
RegisterUnitEvent(29104, 3, 'mob29104_Kill')
RegisterUnitEvent(29104, 4, 'mob29104_Die')
